package com.weight.system.sysmenu.VO;

import java.io.Serializable;
import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
import com.alibaba.fastjson.annotation.JSONField;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 菜单信息表
 */
@Data
public class SysMenuInfoVO implements Serializable {

	private static final long serialVersionUID = 2814639517974791520L;

	@Excel(name = "菜单id")
	@JSONField(name = "menuInfoId")
	private String menuInfoId; //菜单id

	@Excel(name = "菜单父节点id")
	@NotBlank(message = "菜单父节点id不能为空")
	@JSONField(name = "menuPid")
	private String menuPid; //菜单父节点id

	@Excel(name = "菜单姓名")
	@NotBlank(message = "菜单姓名不能为空")
	@JSONField(name = "menuName")
	private String menuName; //菜单姓名

	@Excel(name = "菜单链接地址")
	@NotBlank(message = "菜单链接地址不能为空")
	@JSONField(name = "menuUrl")
	private String menuUrl; //菜单链接地址

	@Excel(name = "菜单状态")
	@NotNull(message = "菜单状态不能为空")
	@JSONField(name = "menuStatus")
	private Integer menuStatus; //菜单状态

	@Excel(name = "菜单级别")
	@NotNull(message = "菜单级别不能为空")
	@JSONField(name = "menuLevel")
	private Integer menuLevel; //菜单级别

	@Excel(name = "菜单描述")
	@NotBlank(message = "菜单描述不能为空")
	@JSONField(name = "menuDesc")
	private String menuDesc; //菜单描述

	@Excel(name = "菜单排序")
	@NotNull(message = "菜单排序不能为空")
	@JSONField(name = "menuSort")
	private Integer menuSort; //菜单排序


	public  SysMenuInfoVO(){
		super();
	}

	public  SysMenuInfoVO(String menuInfoId,String menuPid,String menuName,String menuUrl,Integer menuStatus,Integer menuLevel,String menuDesc,Integer menuSort){
		super();
		this.menuInfoId = menuInfoId;
		this.menuPid = menuPid;
		this.menuName = menuName;
		this.menuUrl = menuUrl;
		this.menuStatus = menuStatus;
		this.menuLevel = menuLevel;
		this.menuDesc = menuDesc;
		this.menuSort = menuSort;
	}

}